package com.cn.entity;

import java.util.Set;



public class User {
	int userid;
	String username;
	String password;
	String xingming;
	String phone;
	String identity;
	String email;
	int pro;
	Set<Messages>message;
	
	
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getXingming() {
		return xingming;
	}
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getIdentity() {
		return identity;
	}
	public void setIdentity(String identity) {
		this.identity = identity;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getPro() {
		return pro;
	}
	public void setPro(int pro) {
		this.pro = pro;
	}
	
	public Set<Messages> getMessage() {
		return message;
	}
	public void setMessage(Set<Messages> message) {
		this.message = message;
	}
	public User(int userid, String username, String password, String xingming,
			String phone, String identity, String email, int pro) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = password;
		this.xingming = xingming;
		this.phone = phone;
		this.identity = identity;
		this.email = email;
		this.pro = pro;
	}
	public User(String username, String password, String xingming, String phone,
			String identity, String email, int pro) {
		super();
		this.username = username;
		this.password = password;
		this.xingming = xingming;
		this.phone = phone;
		this.identity = identity;
		this.email = email;
		this.pro = pro;
	}
	public User(String username, String password, String xingming, String identity) {
		super();
		this.username = username;
		this.password = password;
		this.xingming = xingming;
		this.identity = identity;
	}
	public User() {
		super();
	}
	public User(int userid, String xingming, String identity) {
		super();
		this.userid = userid;
		this.xingming = xingming;
		this.identity = identity;
	}
	public User(int userid, String username, String password, String xingming,
			String phone, String identity, String email, int pro,
			Set<Messages> message) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = password;
		this.xingming = xingming;
		this.phone = phone;
		this.identity = identity;
		this.email = email;
		this.pro = pro;
		this.message = message;
	}
	public User(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}
	public User(String username, String password, String xingming, String phone,
			String identity, String email, int pro, Set<Messages> message) {
		super();
		this.username = username;
		this.password = password;
		this.xingming = xingming;
		this.phone = phone;
		this.identity = identity;
		this.email = email;
		this.pro = pro;
		this.message = message;
	}
	public User(String username, String password, String xingming, String phone,
			String identity, String email) {
		super();
		this.username = username;
		this.password = password;
		this.xingming = xingming;
		this.phone = phone;
		this.identity = identity;
		this.email = email;
	}
	
	
	
	

	
	
	
	
	
	
	

}
